package edu.study.user.api.req.department;

import javax.validation.constraints.NotNull;

import edu.study.api.common.dto.BaseReqDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

@Setter
@Getter
@ApiModel("新增部门")
public class AddDepartmentReq extends BaseReqDto {

    /**
	 *
	 */
	private static final long serialVersionUID = -731538599642082271L;
	
	@ApiModelProperty(value = "部门名称", example = "", required = true)
	@NotNull(message = "部门名称不能为空")
    private String departmentName;

	@ApiModelProperty(value = "部门描述", example = "", required = false)
    private String departmentDesc;
	
	@ApiModelProperty(value = "部门logo", example = "", required = false)
    private String departmentLogoUrl;
	
	@ApiModelProperty(value = "联系人", example = "", required = false)
    private String contactUser;
	
	@ApiModelProperty(value = "联系电话", example = "", required = false)
    private String contactTelephone;
	
	@ApiModelProperty(value = "联系邮箱", example = "", required = false)
    private String contactEmail;
	
	@ApiModelProperty(value = "备注", example = "", required = false)
    private String remarks;
	
	@ApiModelProperty(value = "上级部门编号(一级部门ROOT)", example = "", required = false)
    private String parentDepartmentNo;
	
	@ApiModelProperty(value = "租户编号", example = "", required = true)
	@NotNull(message = "租户编号不能为空")
    private String domainNo;
}
